package com.unlcn.ils.erpInterfaces.service.buss.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.unlcn.ils.erpInterfaces.dao.mapper.LisaRequestLogMapper;
import com.unlcn.ils.erpInterfaces.dao.model.LisaRequestLog;
import com.unlcn.ils.erpInterfaces.service.buss.ILisaRequestLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 司机公众号请求日志表  服务实现类
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-15
 */
@Service
public class LisaRequestLogServiceImpl extends ServiceImpl<LisaRequestLogMapper, LisaRequestLog> implements ILisaRequestLogService {

    @Autowired
    private LisaRequestLogMapper lisaRequestLogMapper;

    @Override
    public void insertLog(LisaRequestLog lisaRequestLog) {
        lisaRequestLogMapper.insert(lisaRequestLog);
    }

    @Override
    public Long getNextIlineid() {
        return lisaRequestLogMapper.getNextIlineid();
    }
}
